home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
001-025
/
disk_002
/
make2
/
rules.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
509b
|
26 lines
#define MAXDEPEND 100
#define MAXACTION 20
#define MAXRULES 50
/*
* struct rule -- storage for a rule of the form
*
* target : depend[0] depend[1] ... depend[c_depend]
* action[0]
* action[1]
* :
* action[c_action]
*
*/
extern struct rule {
char *pch_target;
int c_depend;
char *apch_depend[ MAXDEPEND ];
int c_action;
char *apch_action[ MAXACTION ];
} arl_Rules[ MAXRULES ];
extern int n_Rules;
extern char **GetDependants(), **GetActions();